/// id : 25
/// code : "cxyj"
/// name : "长兴县寓健颐养中心"
/// api : "https://cxyj.yly.yytong.com/ophApi/"
/// branchId : 9052

class ConfigUrlResponse {
  ConfigUrlResponse({
      this.id, 
      this.code, 
      this.name, 
      this.api, 
      this.branchId,this.root});

  ConfigUrlResponse.fromJson(dynamic json) {
    id = json['id'];
    code = json['code'];
    name = json['name'];
    api = json['api'];
    branchId = json['branchId'];
    root = json['root'];
  }
  int? id;
  String? code;
  String? name;
  String? api;
  int? branchId;
  String? root;
ConfigUrlResponse copyWith({  int? id,
  String? code,
  String? name,
  String? api,
  int? branchId,
}) => ConfigUrlResponse(  id: id ?? this.id,
  code: code ?? this.code,
  name: name ?? this.name,
  api: api ?? this.api,
  branchId: branchId ?? this.branchId,
  root: root ?? this.root,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['code'] = code;
    map['name'] = name;
    map['api'] = api;
    map['branchId'] = branchId;
    map['root'] = root;
    return map;
  }

}